package com.engine4cloud.tdf.supervision.dto.result;

import com.engine4cloud.tdf.common.core.constant.enums.AllAuditActionStatusEnum;
import com.engine4cloud.tdf.common.core.constant.enums.AuditBusinessTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 首页-待办任务-响应对象
 *
 * @author wenjie
 * @date 2024-05-15 14:33:54
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "首页-待办任务-响应对象")
public class HomeIndexSpResultDTO implements Serializable {

    @Schema(description = "流程id")
    private String id;

    @Schema(description = "矫正对象编号")
    private String code;

    @Schema(description = "矫正对象姓名")
    private String name;

    @Schema(description = "流程编号")
    private String batch;

    @Schema(description = "业务类型", example = "OUT_APPLICATION(\"OUT_APPLICATION\", \"外出\"),\n" +
            "    CHANGE_PLACE(\"CHANGE_PLACE\", \"执行地变更\"),\n" +
            "    USUAL_OUT(\"USUAL_OUT\", \"经常性跨市县活动\"),\n" +
            "    EMERGENCY_REPORT(\"EMERGENCY_REPORT\", \"突发事件上报\"),\n" +
            "    WARNING(\"WARNING\", \"警告\"),\n" +
            "    PRISON_EXECUTE(\"PRISON_EXECUTE\", \"提请收监执行\"),\n" +
            "    SECURITY_PUNISHMENT(\"SECURITY_PUNISHMENT\", \"提请治安处罚\"),\n" +
            "    REDUCE_PENALTY(\"REDUCE_PENALTY\", \"提请减刑\"),\n" +
            "    REVOKE_PAROLE(\"REVOKE_PAROLE\", \"提请撤销假释\"),\n" +
            "    REVOKE_PROBATION(\"REVOKE_PROBATION\", \"提请撤销缓刑\"),\n" +
            "    MIGRATE(\"MIGRATE\", \"迁居\"),\n" +
            "    ACCESS_SPECIFIC(\"ACCESS_SPECIFIC\", \"进入特定区域\"),")
    private AuditBusinessTypeEnum businessType;

    @Schema(description = "操作时间")
    private String actionTime;

    @Schema(description = "操作人")
    private String actionBy;

    @Schema(description = "状态", example = "    CREATE(\"CREATE\", \"创建\", \"待审核\"),\n" +
            "    VILLAGE_AUDIT(\"VILLAGE_AUDIT\", \"所审核\", \"待审批\"),\n" +
            "    AUDIT(\"AUDIT\", \"所审核\", \"审核通过\"),\n" +
            "    REFUSE(\"REFUSE\", \"所拒绝\", \"所拒绝\"),\n" +
            "    COUNTRY_AUTHORIZE(\"COUNTRY_AUTHORIZE\", \"县局审批\", \"待批准\"),\n" +
            "    AUTHORIZE(\"AUTHORIZE\", \"县局审批\", \"审批通过\"),\n" +
            "    APPROVE(\"APPROVE\", \"市局审批\", \"批准通过\"),\n" +
            "    FINISH(\"FINISH\", \"结束\", \"已结束\")")
    private AllAuditActionStatusEnum preAction;
}